{include file="index@index/head"}
<!-- <div class="content">
  <div class="wrap">
    <div class="location"><a href="/index.html">首页</a><i>/</i><a href="{:u($entitle)}">{$cateName}</a><i>/</i>文章详情</div>
    <div class="newbox">
      <div class="newtit">
        <h1>{$one.title}</h1>
        <p>发表时间：{$one.datetime|date='Y-m-d H:i:s',###} &nbsp;&nbsp; 浏览次数：{$one.views}</p>
      </div>
      <div class="pdbox">{$one.content}</div>     
    </div>
     <div class="prevnext">
        <p class="fl"><a href="{$pn.prev.url}">上一篇：{$pn.prev.title|msubstr=0,20,utf8,true}</a></p>
        <p  class="fr"><a href="{$pn.next.url}">下一篇：{$pn.next.title|msubstr=0,20,utf8,true}</a></p>
      </div>
  </div>
</div> -->

    <style>
        #menu>li>a::after{
            content:'>';
            margin-left: 3rem;
        }
        .show-active::after{
            display: inline-block;
            transform: rotate(90deg);
        }
    </style>

    <div class="container">
        <!--面包屑导航-->
        <nav class="row breadcrumb">
            <a class="breadcrumb-item" href="#">首页</a>
            <a class="breadcrumb-item" href="#">{$title}</a>
            <span class="breadcrumb-item active">{$one.title}</span>
        </nav>

        <div class="row bg-white pt-5 pb-5">
            
          {include file="index@index/left"}


            <!--右边文章内容-->
            <div class="col-9 pl-4 pr-4">
                <h3 class="font-weight-bold">{$one.title}</h3>
                <!--文章来源-->
                <div class="mt-3 mb-3">
                    <footer class="text-muted">责任编辑：{$one.author} &nbsp;&nbsp;&nbsp;&nbsp;
                        发布日期：{$one.datetime|date='Y-m-d H:i:s',###} &nbsp;&nbsp;&nbsp;&nbsp;
                        来源：{$one.source}
                    </footer>
                </div>
                <!--摘要-->
                <p class="p-4" style="border:1px solid #1695d8;">
                  {$one.note}
                </p>
                <!--内容区域-->
                <div>
                  {$one.content}
                </div>
                <!--翻页-->
                <ul class="nav">
                    <li class="nav-item col-6"><a class="nav-link text-truncate text-muted" href="{$pn.prev.url}">上一篇：{$pn.prev.title|msubstr=0,20,utf8,true}</a></li>
                    <li class="nav-item col-6"><a class="nav-link text-truncate text-muted" href="{$pn.next.url}">下一篇：{$pn.next.title|msubstr=0,20,utf8,true}</a></li>
                </ul>
            </div>
        </div>


    </div>
    <script>
        $("#menu>li>a").click(function(){
            if($(this).hasClass("show-active")){
                $(this).removeClass("show-active");
            }else{
                $(this).addClass("show-active");
            }
        })

    </script>
</body>
</html>



{include file="index@index/foot"}